package com.jt.factory;

import java.util.Calendar;

public class InstanceFactory {
    //获取Calendar对象
    public Calendar getCalendar(){
        /*
        * Calendar calendar = Calendar.getInstance();
:        * return calendar;
        * */
        return Calendar.getInstance();
    }
}
